<div>
  <h2 style="margin-bottom: 20px;" >热门策略</h2>
</div>
<div *ngIf="files" >
  <div nz-row [nzGutter]="8">
    <div nz-col [nzSpan]="8" *ngFor="let file of files" style="margin-bottom: 10px;" >
      <nz-card style="min-height:200px;" >
        <ng-template #title>
          {{ file.name }}
        </ng-template>
        <ng-template #extra>
          <a [routerLink]="['/file-detail', file.id]" >详情</a>
        </ng-template>
        <ng-template #body>
          <p>{{ file.content }}</p>
        </ng-template>
      </nz-card>
    </div>
  </div>
</div>

<div *ngIf="!files" >
  <h3>加载数据中...</h3>
</div>
